
<div class="indexWidth">
    <button type="button" class="btn btn-info mainButtonRight"><a
            href="javascript:takeout.openMenu('${ctxPath!}/score/list', null)" class="mianAcolor">返回</a></button>

    <div class="sectionTitle">
        分数管理
        <hr>
    </div>
<form id="scoreForm" name="form1" action="${ctxPath!}/score/save" method="POST" class="form-horizontal">
    <input type="hidden" id="id" name="score.id" class="mainSetWidth" value="${score.id!}" placeholder="显示" />

    <!--<div class="articleFormLabel">-->
        <!--<label class="mainSetConsistentWidth">题目ID：</label>-->
        <!--<input type="text" name="score.questionid" class="mainSetWidth" value="${score.questionid!}" />-->
    <!--</div>-->


    <div class="articleFormLabel">
        <label class="mainSetConsistentWidth">最小分数：</label>
        <input type="text" name="score.s_score" class="mainSetWidth" style="width: 100px;" value="${score.s_score!}" />

        <label class="mainSetConsistentWidth">最大分数：</label>
        <input type="text" name="score.e_score" class="mainSetWidth" style="width: 100px;" value="${score.e_score!}" />
    </div>

    <!--<div class="articleFormLabel">-->
        <!--<label class="mainSetConsistentWidth">最大分数：</label>-->
        <!--<input type="text" name="score.e_score" class="mainSetWidth" value="${score.e_score!}" />-->
    <!--</div>-->


    <div class="articleFormLabel" style="display: flex;align-items: center;">
        <label class="mainSetConsistentWidth">备注：</label>
        <!--<textarea rows="6" name="score.remark" class="mainSetWidth">${score.remark!}</textarea>-->
        <textarea name="score.remark" id="news_content" style="width:800px;height:250px;">${score.remark!}</textarea>
    </div>


    <div class="form-group">
        <button style="margin-left: 100px;width:95px;" class="btn btn-info articleFormButton" type="button" onclick="takeout.ajaxFormMainPanel('scoreForm')" >保存</button>
    </div>

    <script>
        KindEditor.ready(function(K) {
            window.editor = K.create('#news_content', {
                afterCreate: function () {
                    var self = this;
                    K.ctrl(document, 13, function () {
                        self.sync();
                        K('form[name=form1]')[0].submit();
                    });
                    K.ctrl(self.edit.doc, 13, function () {
                        self.sync();
                        K('form[name=form1]')[0].submit();
                    });
                },
                afterBlur: function () { this.sync(); },
                allowImageUpload : true,
                uploadJson : '${ctxPath!}/score/uplodImg'
            });
        });
    </script>
</form>